package com.mf.all.entity.req.search.basic;

import com.mf.all.entity.req.publicReq.ReqPublicPaging;
import io.swagger.v3.oas.annotations.media.Schema;

import lombok.Data;

import java.io.Serializable;

import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 物料表查询条件
 *
 * @date 2025-04-02 22:36:46
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SearchReqMaterial extends ReqPublicPaging implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "关键值:物料编号,物料名称")
    private String key;

    @Schema(description = "物料编号")
    private String code;
    @Schema(description = "物料名称")
    private String mName;
    @Schema(description = "所属上级")
    private Integer pid;
    @Schema(description = "物料规格")
    private String size;
    @Schema(description = "单位")
    private String unit;
    @Schema(description = "1启用；0-禁用")
    private Integer status;
}
